package com.gxa.mapper;
import com.gxa.entity.Mso;
import com.gxa.entity.Msoxq;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Mapper
public interface OrderMapper {
    void addToMso(Mso mso);

    void addToMsoXq(Msoxq msoxq);

    List<Mso> getMsoByUserid(Integer userid);

    List<Mso> findAll();

    Integer getMsoxqCountByMsoid(String msoid);

    Integer getTotalCount();

    void deleteMsoByMsoid(String msoid);

    void deleteMsoxqByMsoid(String msoid);

    void sendPro(String msoid);

    Integer getMsoCountByUserid(Integer userid);

    Integer payMoney(Map map);

    List<Msoxq> getMsoxqByMsoid(String msoid);
}
